package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.XMLX;
import com.authine.cloudpivot.web.api.vo.Xmkxx;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface XMKXXMapper extends MyMapper<Xmkxx> {


    void updateProjectNo(@Param("objectId")String objectId, @Param("sequenceNo")String sequenceNo, @Param("code") Integer code);

    Xmkxx selectXMKXX(@Param("id") String id);

    Integer getProjectNo(@Param("type")String type);

    String getSubjectName(@Param("id")String id);

    void updateSubjectStatus(@Param("id")String id);

    void updateXMKXXStatus(@Param("code")String code);

    List<Xmkxx> selectXMKXXAll();

    void updateBach(@Param("id")String id);


    Map<String,String> selectXMKXXByBach();

    void updateBachInsert(@Param("id") String id);

    Map<String,String> updateSubjectStatusX();

    void updateSubjectStatusXX(@Param("id")String id);

   List<XMLX> getAll();

    void updateXMVL(@Param("id")String id);

    String getSujectPerson(@Param("id")String id);

    void updateSubjectManager(@Param("id")String id, @Param("role")String role);
}
